package org.jeecg.modules.fep.vo;

import java.util.List;

import org.jeecg.modules.fep.entity.FepInstallments;
import org.jeecg.modules.fep.entity.FepOrdersProduct;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 订单模块
 * @Author: jeecg-boot
 * @Date:   2023-04-14
 * @Version: V1.0
 */
@Data
@ApiModel(value="fep_ordersPage对象", description="订单模块")
public class FepOrdersPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
	@ApiModelProperty(value = "订单号")
    private java.lang.String orderNo;
	/**顾客*/
	@Excel(name = "顾客", width = 15, dictTable = "fep_buyers", dicText = "username", dicCode = "id")
    @Dict(dictTable = "fep_buyers", dicText = "username", dicCode = "id")
	@ApiModelProperty(value = "顾客")
    private java.lang.String buyerId;
	/**实付总价*/
	@Excel(name = "实付总价", width = 15)
	@ApiModelProperty(value = "实付总价")
	private java.lang.Double payTotalPrice;
	/**应付总价*/
	@Excel(name = "应付总价", width = 15)
	@ApiModelProperty(value = "应支付总价")
	private java.lang.Double ShouldPayTotalPrice;
	/**已支付*/
	@Excel(name = "已支付", width = 15)
	@ApiModelProperty(value = "已支付")
    private java.lang.Double paidAmount;
	/**未支付*/
	@Excel(name = "未支付", width = 15)
	@ApiModelProperty(value = "未支付")
    private java.lang.Double upaidAmount;
	/**品种数*/
	@Excel(name = "品种数", width = 15)
	@ApiModelProperty(value = "品种数")
    private java.lang.Integer quantity;
	/**是否结清*/
	@Excel(name = "是否结清", width = 15, dicCode = "fep_order_is_settle")
    @Dict(dicCode = "fep_order_is_settle")
	@ApiModelProperty(value = "是否结清")
    private java.lang.Integer isSettle;
	/**下单时间*/
	@Excel(name = "下单时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "下单时间")
    private java.util.Date orderTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private java.lang.String remark;
	
	@ExcelCollection(name="付款记录")
	@ApiModelProperty(value = "付款记录")
	private List<FepInstallments> fepInstallmentsList;
	@ExcelCollection(name="订单详情")
	@ApiModelProperty(value = "订单详情")
	private List<FepOrdersProduct> fepOrdersProductList;
	
}
